import request from '@/utils/request'

//获取领导信箱分页数据
export function getLeaderMailData(data) {
	console.log(data);
	return request({
		method: 'get',
		url: 'leadMail/openApi/query',
		params: data
	})
}

//给领导信箱发信
export function postSendLeaderMail(data) {
	return request({
		method: 'post',
		url: 'leadMail/openApi/add',
		data
	})
}